projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7917345
)
Fix return types for VBD.get_record and VIF.get_record.
author
Ewan Mellor
<ewan@xensource.com>
Thu, 28 Dec 2006 15:23:31 +0000
(15:23 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Thu, 28 Dec 2006 15:23:31 +0000
(15:23 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendAPI.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendAPI.py
b/tools/python/xen/xend/XendAPI.py
index 65903a49353d29349ab1df95c18b2b4703b15d9a..244e327bb3b9fbc80b09ac09d3ad9c776cfc673e 100644
(file)
--- a/
tools/python/xen/xend/XendAPI.py
+++ b/
tools/python/xen/xend/XendAPI.py
@@
-1104,7
+1104,7
@@
class XendAPI:
return_cfg = {}
for k in cfg.keys():
if k in valid_vbd_keys:
- return_cfg[k] =
cfg[k]
+ return_cfg[k] =
str(cfg[k])
return xen_api_success(return_cfg)
@@
-1190,7
+1190,7
@@
class XendAPI:
return_cfg = {}
for k in cfg.keys():
if k in valid_vif_keys:
- return_cfg[k] =
cfg[k]
+ return_cfg[k] =
str(cfg[k])
return xen_api_success(return_cfg)